package com.gzhryc.shared_device.oem.h5.mng.dto;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class ImageUploadResponse extends SecurityResponse<ImageUploadResponse.Body> {

    private static final long serialVersionUID = 1L;

    public ImageUploadResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();
    }

    public ImageUploadResponse(Integer code) {
        super(code);
        this.body = new Body();
    }


    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String path;
        private String imgUrl;

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }
    }
}
